package org.dong.Pojo;

public class Dto {
    private Object data;
    private int statusCode;//状态码（成功/失败）
    private String errMsg;//错误信息


    public Dto() {

    }

    public Dto(Object data, int statusCode, String errMsg) {
        this.data = data;
        this.statusCode = statusCode;
        this.errMsg = errMsg;
    }


    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}
